package com.kingmed.kmss.admin.modules.sys.model;


import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 文件信息
 * </p>
 *
 * @author csw
 * @since 2023-04-17
 */
@Getter
@Setter
@TableName("sys_file")
@ApiModel(value = "SysFile对象", description = "文件信息")
public class SysFile implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("文件Id")
    @TableId(value = "file_id", type = IdType.ASSIGN_ID)
    private String fileId;

    @ApiModelProperty("业务类型")
    private String bizType;

    @ApiModelProperty("文件名称")
    private String name;

    @ApiModelProperty("新文件名称")
    private String newName;

    @ApiModelProperty("文件类型")
    private String fileType;

    @ApiModelProperty("文件大小（kb）")
    private String fileSize;

    @ApiModelProperty("文件相对路径")
    private String relativePath;

    @ApiModelProperty("创建者")
    @TableField(fill = FieldFill.INSERT)
    private String createBy;

    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty("更新者")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateBy;

    @ApiModelProperty("更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}
